package com.homedo.odin.solution.model.request.mng;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@ApiModel(description = "Mng_产品资料需求运营记录")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class MngProductOperatorRequestBean extends BaseBean {

    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户id非法参数")
    @Min(message = "用户id非法参数", value = 0)
    private Long modifiedUserId;

    @ApiModelProperty("操作人")
    @NotEmpty(message = "操作人不能为空")
    private String operator;

    @ApiModelProperty("跟踪记录")
    @NotEmpty(message = "跟踪记录不能为空")
    @Length(min = 0, max = 200, message = "记录长度超过200")
    private String trackRecord;
}